package com.cxm.qyyz.ui.mall

import com.cxm.qyyz.presenter.MallFragmentPresenter
import com.cxm.qyyz.contract.MallContract
import com.cxm.qyyz.R
import android.os.Bundle
import android.view.View
import com.cxm.qyyz.base.fragment.BaseLazyLoadFragment


/**
 * 商城首页
 */
class MallFragment : BaseLazyLoadFragment<MallFragmentPresenter?>(), MallContract.View {

    override fun getLayoutId(): Int {
        return R.layout.fragment_mall
    }


    override fun initView(view: View) {
        super.initView(view)
    }

    //弹出window
    fun showPPDialog(i: View) {

    }


    override fun initInjector() {
        mFragmentComponent.inject(this)
    }


    override fun onResume() {
        super.onResume()
    }


    override fun onHiddenChanged(hidden: Boolean) {
        super.onHiddenChanged(hidden)
    }

    override fun onErrors() {
    }

    companion object {
        @JvmStatic
        val instance: MallFragment
            get() {
                val args = Bundle()
                val fragment = MallFragment()
                fragment.arguments = args
                return fragment
            }
    }

}